import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import TreeTable from 'vue-table-with-tree-grid'

// 导入字体图标
import './assets/fonts/iconfont.css'
// 导入全局样式表
import './assets/css/global.css'

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.component('tree-table', TreeTable)

import {sexFormat,dateFormat} from "common/utils/myFormatUtils";

Vue.filter('dateFormat',dateFormat)
Vue.filter('sexFormat',sexFormat)


new Vue({
  store,
  router,
  render: h => h(App)
}).$mount('#app')
